﻿using ReportingSystem.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace ReportingSystem.IRepository
{
    public interface IRepairsRepository
    {
        /// <summary>
        /// 创建实体
        /// </summary>
        /// <param name="entity"></param>
        void Create(Repairs entity);

        /// <summary>
        /// 查询实体
        /// </summary>
        /// <param name="str"></param>
        /// <returns></returns>
        //Repairs Get(string str);

        List<Repairs> GetAll();

        List<Repairs> GetAll(dynamic user);

        Repairs Get(int id);

        void Update(Repairs repairs);
    }
}
